package me.zhujin.java.learnjava.myserver;

import me.zhujin.java.learnjava.myserver.util.ScriptUtil;

import javax.script.ScriptException;
import java.io.FileNotFoundException;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by zhujin on 10/20/16.
 * blog:www.zhujin.me
 * email: zhujin.nova@gmail.com
 */
public class MyServletContext {

    //servlet
    private Map<String, String> servlet;

    //url
    private Map<String, String> mapping;


    public MyServletContext() {
        servlet = new HashMap<String, String>();
        mapping = new HashMap<String, String>();
    }


    public Map<String, String> getMapping() {
        return mapping;
    }

    public void setMapping(Map<String, String> mapping) {
        this.mapping = mapping;
    }

    public Map<String, String> getServlet() {
        return servlet;
    }

    public void setServlet(Map<String, String> servlet) {
        this.servlet = servlet;
    }
}
